module Visualizer::BufferedTrees::TreeFileGenerator

import Visualizer::VisualisationTreeADT;
import IO;
import Visualizer::VisualisationTreeADTBuilder;
import String;

public void run(){
	generateSimpleExample();
	generateSmallSQL();
	generateHSQLDB();
	generatejmeter();
}

public void generateSimpleExample(){

	simpleexample = generateVisTreeFromProject(|project://SimpleExample|);
	
	str begin = "module Visualizer::BufferedTrees::SimpleExample

import Visualizer::VisualisationTreeADT;

public VisualisationTree getBbbufferedSimpleExample()
{
	return";

	str end = ";\n}";
	
	writeFile(|file:///D:/evolution/raskel/Series1/src/Visualizer/BufferedTrees/SimpleExample.rsc|, "<begin> <simpleexample> <end>");
	println("written simpleexample");

}

public void generateSmallSQL(){

	tree = generateVisTreeFromProject(|project://smallsql|);
	
	str begin = "module Visualizer::BufferedTrees::SmallSQL

import Visualizer::VisualisationTreeADT;

public VisualisationTree getBufferedSmallSQL()
{
    return ";

	str end = ";\n}";
	
	writeFile(|file:///D:/evolution/raskel/Series1/src/Visualizer/BufferedTrees/SmallSQL.rsc|, "<begin> <tree> <end>");
	println("written SmallSQL");

}

public void generateHSQLDB(){

	tree = generateVisTreeFromProject(|project://hsqldb|);
	
	str begin = "module Visualizer::BufferedTrees::HSQLDB

import Visualizer::VisualisationTreeADT;

public VisualisationTree getBufferedHSQLDB()
{
    return ";

	str end = ";\n}";
	
	writeFile(|file:///D:/evolution/raskel/Series1/src/Visualizer/BufferedTrees/HSQLDB.rsc|, "<begin> <tree> <end>");
	println("written HSQLDB");

}

public void generatejmeter(){

	tree = generateVisTreeFromProject(|project://jakartajmeter|);
	
	str begin = "module Visualizer::BufferedTrees::jmeter

import Visualizer::VisualisationTreeADT;

public VisualisationTree getBufferedjmeter(){
	return  ";

	str end = ";\n}";
	
	writeFile(|file:///D:/evolution/raskel/Series1/src/Visualizer/BufferedTrees/jmeter.rsc|, "<begin> <tree> <end>");
	println("written jakartajmeter");

}